package com.ruoyi.ring.service;

import java.util.List;
import com.ruoyi.ring.domain.RingDevice;

/**
 * 设备Service接口
 * 
 * @author liuwp
 * @date 2025-08-18
 */
public interface IRingDeviceService 
{
    /**
     * 查询设备
     * 
     * @param id 设备主键
     * @return 设备
     */
    public RingDevice selectRingDeviceById(Long id);

    /**
     * 查询设备列表
     * 
     * @param ringDevice 设备
     * @return 设备集合
     */
    public List<RingDevice> selectRingDeviceList(RingDevice ringDevice);

    /**
     * 根据业务主键查询一条记录：设备
     *
     * @param ringDevice 设备
     * @return 设备
     */
    public RingDevice selectOneRingDevice(RingDevice ringDevice);

    /**
     * 新增设备
     * 
     * @param ringDevice 设备
     * @return 结果
     */
    public int insertRingDevice(RingDevice ringDevice);

    /**
     * 修改设备
     * 
     * @param ringDevice 设备
     * @return 结果
     */
    public int updateRingDevice(RingDevice ringDevice);

    /**
     * 修改设备
     *
     * @param ringDevice 设备
     * @param ringDevice 设备条件
     * @return 结果
     */
    public int updateRingDeviceCondition(RingDevice ringDevice, RingDevice ringDeviceCondition);

    /**
     * 批量删除设备
     * 
     * @param ids 需要删除的设备主键集合
     * @return 结果
     */
    public int deleteRingDeviceByIds(Long[] ids);

    /**
     * 删除设备信息
     * 
     * @param id 设备主键
     * @return 结果
     */
    public int deleteRingDeviceById(Long id);

    /**
     * 条件删除设备
     *
     * @param ringDevice 设备
     * @return 结果
     */
    public int deleteRingDeviceByCondition(RingDevice ringDevice);
}
